package com.xinxin.o2o.dto;

import lombok.Data;

import java.io.InputStream;

/**
 * @author 史鑫鑫
 * @date 2019-08-23 10:07
 */
@Data
public class ImageHolder {
    /**
     * 图片名
     */
    private String imageName;
    /**
     * 图片流
     */
    private InputStream image;

    public ImageHolder(String imageName, InputStream image) {
        this.imageName = imageName;
        this.image = image;
    }
}
